<template>
	<tm-fullView>
		<tm-menubars title="业务组件" color="bg-gradient-primary-lighten" :showback="true"></tm-menubars>
		
		<tm-sheet :shadow="24"><tm-grid @change="openurl" :list="list" :icon-size="50"></tm-grid></tm-sheet>
	</tm-fullView>
</template>

<script>
	import tmFullView from "@/tm-vuetify/components/tm-fullView/tm-fullView.vue"
	import tmMenubars from "@/tm-vuetify/components/tm-menubars/tm-menubars.vue"
	import tmSheet from "@/tm-vuetify/components/tm-sheet/tm-sheet.vue"
	import tmGrid from "@/tm-vuetify/components/tm-grid/tm-grid.vue"
	
	
	export default {
		components:{tmFullView,tmMenubars,tmSheet,tmGrid},
	data() {
		return {
			list: [
				{ text: '优惠券', icon: 'icon-databaseset-fill', url: '../comtwo/coupon', dot: true },
				{ text: '购物列表', icon: 'icon-databaseset-fill', url: 'cartCellListFood', dot: true },
				{ text: '购物车Bar', icon: 'icon-databaseset-fill', url: 'cartBarFood', dot: true }
			]
		};
	},
	methods: {
		openurl(e) {
			uni.navigateTo({
				url: e.data.url
			});
		}
	}
};
</script>

<style></style>
